﻿using System.Threading.Channels;
using System.Threading.Tasks;

namespace WYJ.Log.LogWriters
{

    /// <summary>
    /// Output To Database —— OTD
    /// 输出到数据库。
    /// 未实现
    /// </summary>
    public abstract class OTDWriter : LinePassage<string>, ILogWriter
    {

        public OTDWriter() : base(Channel.CreateUnbounded<string>())
        {
        }

        protected override Task Next(string msg)
        {
            return Task.CompletedTask;
        }
    }


}
